package service.impl;

import dao.MenuDao;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import service.MenuService;

import java.util.Set;
@Service
public class MenuServiceimpl implements MenuService {

    @Autowired
    MenuDao menuDao;
    @Override
    public Set<String> findPermsByUserId(int id) {
        Set<String> set = menuDao.findById(id);
        return set;
    }
}
